﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="WebApplication1.WebForm2" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>
    </title>
    <meta http-equiv="refresh" content="5" />
    <style>
        body {
        background-color:aqua;
        }
        * {
        margin:0;
        padding:0;
        }
        #father {
         background-color:white;
         border-style:solid;
         width:700px;
         height:577px;
            margin-left: auto;
            margin-right: auto;
            margin-top: auto;
        }
        #bt {
         text-align:center;
        }
    </style>
</head>
<body>
    <h1 id="bt">聊天室</h1>  
    <div id="father">
        <form id="form1" runat="server">
         <div style="height: 459px">
            <asp:Panel ID="Panel1" runat="server" Width="700px" Height="461px" ScrollBars="Horizontal">
             <asp:Literal ID="Literal1" runat="server"></asp:Literal>
            </asp:Panel>
        </div>
       
        <asp:Panel ID="Panel2" runat="server" Height="84px">
            <asp:TextBox ID="TextBox1" runat="server" Height="75px" Width="689px"></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="发送" />
           
            &nbsp;
            <asp:Button ID="Button2" runat="server" Text="刷新" OnClick="Button2_Click" />
            &nbsp;<asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="退出登录" />
            <asp:Label ID="Label1" runat="server" Text=" "></asp:Label>
        </asp:Panel>
       
    </form>

    </div>

    
</body>
</html>
